extends "../baerdimo-2/baerdimo-2.gd"

func _extInit():
	._extInit()
	lv = 3             #等级的设置
	addSkill("每{cd}秒完全释放自身护盾，对全场敌人造成[护盾值*0.5]的特效伤害", "护盾猛击", "shieldAtk", 10)

func _castCdSkill(id):
	._castCdSkill(id)
	if id=="shieldAtk":
		shieldAtk()
func shieldAtk():
	for i in getAllChas(1):
		azurHurtChara(i, shield*0.5, sys.HurtType.WEAPON, sys.AtkType.EFF, "护盾猛击")
	changeShield(-shield)